package com.qww.test09;

public class Test09 {

    public static void main(String[] args) {
        new A().f1();
    }
}

class  A {
    void  f1() {
        System.out.println("f1()");
    }
    B b1 = new B(1);
    A() {
        B b2 = new B(2);
    }
    B b2 = new B(3);
}

class B {
    B() { }
    B(int i) {
        System.out.println("B : " + i);
    }
}